#ifndef BULLET_H
#define BULLET_H
#include<QPixmap>

//子弹类
class Bullet{
public:
    Bullet();
    //更新子弹坐标
    void UpdatePosition();

    QPixmap m_bullet;
    int b_x;
    int b_y;
    int b_speed;
    //是否闲置
    bool is_free1;

    QRect b_rect;
};

#endif // BULLET_H
